<!DOCTYPE html>
<html>
<head>
	<title>激活</title>
	<meta content="text/html" charset="utf8">
</head>
<body>
<div id="d1"></div>
<table border="1px">
	<tr>
		<td>激活号码：</td>
		<td><input type="text" id="register_number" name="register_number"></input></td>
	</tr>
	<tr>
		<td><input type="button" id="confirm" value="确定"></input></td>
		<td><input type="button" id="rback" value="取消"></input></td>
	</tr>
</table>
<script type="text/javascript" src="/js/jquery-1.11.3.js"></script>
<script type="text/javascript">
$(function(){
	$("#confirm").click(function(){
		data={
			register_number: $("#register_number").val()
		};
		$.post("activation", data, function(data){
			if(data.status.Code==0)
			{
				window.location.replace('/RondomSystem/showUserIndex');
			}
			else
			{
				$('#d1').html(data.status.message);
			}

		})
	});
});
</script>
</body>
</html>